<!DOCTYPE html	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<title>故障特征查看</title>
	<link rel="stylesheet" href="static/css/reset.css"></link>
	<link rel="stylesheet"
		href="/resources/bootstrap/css/bootstrap.min.css" />
	<script type="text/javascript" src="static/js/jtopo.min.js"></script>
	<script type="text/javascript" src="static/js/jquery.min.js"></script>
	<script type="text/javascript" src="static/js/layer.js"></script>
	<link href="./static/css/app.css" rel="stylesheet"></link>
</h:head>
<h:body>
	<!-- <button id="back" class="btn btn-xs btn-primary" onclick="back()" style="display:block;position:absolute;right:0px;z-index:10;">返回</button> -->
	<a href='javascript:void(0)' id="back" onclick="back()" style="display:block;position:absolute;right:0px;z-index:10;font-size:20px;color:black;font-weight:bold;text-decoration:none">x</a>
	<div id="app" style="display:block;position:relative;"></div>
	<h:inputHidden id="fileId" value="#{request.getParameter('fileId')}"></h:inputHidden>
	<h:inputHidden id="lineId" value="#{request.getParameter('lineId')}"></h:inputHidden>
	<h:inputHidden id="showBackBtn" value="#{request.getParameter('showBackBtn')}"></h:inputHidden>
	<script type="text/javascript">
		var fileId = $('#fileId').val();
		var lineId = $('#lineId').val();
		var showBackBtn = $("#showBackBtn").val();
		if(!showBackBtn){
			$("#back").css('display','none');
		}
		window.initConfig = {
	        itemNames: ['阻抗特征','相量特征','谐波特征','衰减直流','序分量'],
	        ajax: {
	            xlfx: {
	                name: "相量特征",
	                url: "/rest/harmonic/getHarmonic/"+fileId+"/"+lineId,
	                json:{}
	            },
	            xbfx: {
	                name: "谐波特征",
	                url: "/rest/harmonic/getLineHarmonic/"+fileId+"/"+lineId,
	                json:{}
	            },
	            sjzl: {
	                name: "衰减直流",
	                url: "/rest/decay/getDecay/"+fileId+"/"+lineId,
	                json:{}
	            },
	            sequence: {
	                name: "序分量",
	                url: "/rest/sequence/getSequence/"+fileId+"/"+lineId,
	                json:{}
	            },
	            zkfx: {
	                name: "阻抗特征",
	                url: "/rest/impedance/getImpedance/"+fileId+"/"+lineId,
	                json:{}
	            }
	        }
	    }
	</script>
	<script src="/resources/bootstrap/js/bootstrap.js"></script>
	<script type="text/javascript" src="./static/js/manifest.js"></script>
	<script type="text/javascript" src="./static/js/vendor.js"></script>
	<script type="text/javascript" src="./static/js/app.js"></script>
	<script type="text/javascript">
	$(function(){
		
		window.init();
	});
	function back(){
		window.history.go(-2);
	}
	</script>
</h:body>
</html>